//
//  areaCell.m
//  Recycling
//
//  Created by jzd on 2018/6/2.
//  Copyright © 2018年 宋佳. All rights reserved.
//

#import "areaCell.h"

@interface areaCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleL;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftCons;

@end
@implementation areaCell

-(void)setModel:(areaModel *)model{
    _model = model;
    
    self.titleL.text = model.name;
    
    self.leftCons.constant = ([model.parent intValue])*15;
}

@end
